package com.ers.dao;

import java.util.List;

import com.ers.model.User;

public interface UserDao {

	public int save(User u) ;

	public List<User> searchByLoginName(String loginName, String password);
	
	public User loadById(int id);

	public boolean updateByInfo(User u);

	public void updatePwd(String mailbox);
}
